export type ThemeData = {
  borderRadius: number;
  colorPrimary: string;
  Button?: {
    colorPrimary: string;
    algorithm?: boolean;
  };
};

// 继承不包含T中由K指定的键
export type Optional<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;

// 继承只包含T中由K指定的键
export type RequiredKeys<T, K extends keyof T> = Pick<T, K>;
